#include "gtkwidgetprivate.h"
/**
- * SECTION:gtkmediacontrols
- * @title: GtkMediaControls
- * @short_description: A widget showing controls for a media stream
- * @see_also: #GtkVideo
+ * GtkMediaControls:
*
- * GtkMediaControls is a widget to show controls for a #GtkMediaStream
- * and giving users a way to use it.
+ * `GtkMediaControls` is a widget to show controls for a video.
+ *
+ * 
+ *
+ * Usually, `GtkMediaControls` is used as part of [class@Gtk.Video].
*/
struct _GtkMediaControls
gobject_class->set_property = gtk_media_controls_set_property;
/**
- * GtkMediaControls:media-stream:
+ * GtkMediaControls:media-stream: (attributes org.gtk.Property.get=gtk_media_controls_get_media_stream org.gtk.Property.set=gtk_media_controls_set_media_stream)
*
* The media-stream managed by this object or %NULL if none.
*/
* @stream: (allow-none) (transfer none): a #GtkMediaStream to
* manage or %NULL for none.
*
- * Creates a new #GtkMediaControls managing the @stream passed to it.
+ * Creates a new `GtkMediaControls` managing the @stream passed to it.
*
- * Returns: a new #GtkMediaControls
- **/
+ * Returns: a new `GtkMediaControls`
+ */
GtkWidget *
gtk_media_controls_new (GtkMediaStream *stream)
{
}
/**
- * gtk_media_controls_get_media_stream:
- * @controls: a #GtkMediaControls
+ * gtk_media_controls_get_media_stream: (attributes org.gtk.Method.get_property=media-stream)
+ * @controls: a `GtkMediaControls`
*
* Gets the media stream managed by @controls or %NULL if none.
*
* Returns: (nullable) (transfer none): The media stream managed by @controls
- **/
+ */
GtkMediaStream *
gtk_media_controls_get_media_stream (GtkMediaControls *controls)
{
}
/**
- * gtk_media_controls_set_media_stream:
- * @controls: a #GtkMediaControls widget
- * @stream: (nullable): a #GtkMediaStream, or %NULL
+ * gtk_media_controls_set_media_stream: (attributes org.gtk.Method.set_property=media-stream)
+ * @controls: a `GtkMediaControls` widget
+ * @stream: (nullable): a `GtkMediaStream`, or %NULL
*
* Sets the stream that is controlled by @controls.
*/
g_object_notify_by_pspec (G_OBJECT (controls), properties[PROP_MEDIA_STREAM]);
}
-